@import '~antd/es/style/themes/default.less';


.docMenuBody {
  min-height: 480px;
  border-right: 1px solid @border-color-split;


  .rootTitle {
    padding: 8px 8px;
    height: 40px;
    color: @text-color-secondary;
    border-bottom: 1px solid @border-color-split;
    margin-bottom: 4px;
  }

  .rootOperation {
    float: right;
  }

}

.addDirIcon {
  width: 20px;
  height: 20px;
  font-size: 10px;
  align-self: center;
  text-align: center;
  line-height: 20px;
  border-radius: 4px;
}

.addDirIcon:hover {
  background-color: @item-hover-bg;
  border-radius: 4px;
}

.dirActionMenuClass {
  color: @text-color-secondary;
  padding: 2px 8px;
  font-size: 10px;
}


.dirItem {
  color: @text-color-secondary;
  width: 100%;
  padding-left: 4px;
  font-size: 10px;
  display: grid;

  .dirOperation {
    position: absolute;
    right: 2px;
    top: 0px;
    background-color: rgba(245, 245, 245, 0.5);
    border-radius: 4px;
    padding: 0 2px;

  }

  .operationVisible {
    display: none;
  }

  .dirItemTitle {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
  }

}

.dirItem:hover {
  background-color: @item-hover-bg;
  border-radius: 2px;
}

.dirItem:hover>.operationVisible {
  display: block;
}

.treeNodeIcon {
  color: @text-color-secondary;
}

.deleteDirItem {
  color: @warning-color;
}
